from flask import Blueprint
from flask import current_app,render_template
from job.models import CateWC
test = Blueprint("test",__name__)

@test.route("/")
def index():
    result = CateWC.query.filter(CateWC.cate2=="大数据开发工程师").all()
    print(result)

    current_app.logger.warn("logg test")
    return render_template("test.html")

